package com.itheima.a01threadcase1;

public class MyThread extends Thread{
    //书写要执行的代码
    @Override
    public void run() {
        for(int i=0;i<100;i++){
            System.out.println(getName()+"Hello World");
        }

    }
}
